import React, { useState } from 'react'
import { Table } from 'antd'


export default function RepaymentList(props) {
    return (
        <div className='repayment-list'>
            <Table scroll={{ x: 'max-content' }} columns={props.columns} dataSource={props.data || []} pagination={false}></Table>
        </div >
    )
}
